package cn.gcyl.module.biz.controller.admin.aboutplatform.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 平台简介新增/修改 Request VO")
@Data
public class AboutPlatformSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8318")
    private Long id;

    @Schema(description = "关于平台", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "关于平台不能为空")
    private String content;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "更新时间不能为空")
    private LocalDateTime updateTime;

}